package com.example.dailyrecord.service;

import com.example.dailyrecord.base.entity.ResultMsg;
import com.example.dailyrecord.base.service.BaseService;
import com.example.dailyrecord.entity.StatusCode;
import com.example.dailyrecord.entity.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserService extends BaseService<User> {
    StatusCode register(HttpServletRequest request, HttpServletResponse response);

    ResultMsg login(HttpServletRequest request, HttpServletResponse response);

    void clearCwcs();

    StatusCode updatePass(HttpServletRequest request, HttpServletResponse response);
}
